<template>
    <div>
        <el-row>
            <el-col>
                <h1>欢迎来到聚象文化后台管理系统</h1>
                <p>用户：{{username}}</p>
            </el-col>
        </el-row>
    </div>
</template>
<script>
export default {
    data: function() {
        return {
            username: ''
        }
    },
    created: function(){
        var user = JSON.parse(sessionStorage.getItem('user'));
        this.username = user.username;
    }
}
</script>